package MD2Model;

/**
 * This class define the texture coordinate
 * it include 2 field s and t coordinate in short
 *
 */
public class TexCoord {
	private short s;	//(s,t) axis
	private short t;
	
	/**
	 * Constructor
	 */
	public TexCoord () {
	}
	
	/**
	 * Set value for 2 coordinate
	 * @param s coordinate
	 * @param t coordinate
	 */
	public void SetValue (short s, short t){
		this.s = s;
		this.t = t;
	}


	/**
	 * Get s in (s,t) coordinate
	 * @return s
	 */
	public short GetS (){
		return s;
	}
	
	/**
	 * Get t coordinate
	 * @return t in (s,t) coordinate
	 */
	public short GetT (){
		return t;
	}
}
